package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.dto.OrderDto;
import org.example.domain.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author one more thing
* @description 针对表【orders(订单表)】的数据库操作Service
* @createDate 2023-10-08 16:32:58
*/
public interface OrdersService extends IService<Orders> {
    public void submit(Orders orders);

    public Page<OrderDto> page(int page, int pageSize);
}
